package sk.gtug.pivoplus.server.domain.twig;

import com.google.appengine.api.datastore.Blob;
import com.vercer.engine.persist.annotation.Key;

public class TwigKrcmickaPhoto {
	
	@Key
	private String id;
	/**
	 * id of TwigKrcmicka
	 */
	private String pubId;
	private Blob image;

	public void setId(String id) {
		this.id = id;
	}

	public String getId() {
		return id;
	}

	public void setPubId(String pubId) {
		this.pubId = pubId;
	}

	public String getPubId() {
		return pubId;
	}

	public void setImage(byte[] image) {
		this.image = new Blob(image);
	}

	public byte[] getImage() {
		return image.getBytes();
	}

}
